﻿<%@ Control Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<ext:Window 
    ID="ResourceDetailsWindow" 
    runat="server" 
    Icon="Group" 
    Title="Detalle de Recurso"
    Width="400" 
    Height="400" 
    AutoShow="false" 
    Modal="true" 
    Hidden="true"
    Layout="Fit">
    <Items>
        <ext:TabPanel ID="TabPanel1" runat="server" ActiveTabIndex="0" Border="false" DeferredRender="false">
            <Items>
                <ext:FormPanel 
                    ID="ResourceInfo" 
                    runat="server" 
                    Title="Informacion de Recurso" 
                    Icon="ChartOrganisation"
                    DefaultAnchor="100%"
                    BodyPadding="5">
                    <Items>
                        <ext:TextField ID="ResourceID" runat="server" FieldLabel="ID" Disabled="true" Name="ID" />
                        <ext:TextField ID="Name" runat="server" FieldLabel="Nombre" Name="Name" />
                        <ext:TextField ID="LastName" runat="server" FieldLabel="Apellido Paterno" Name="LastName" />
                        <ext:TextField ID="SecondLastName" runat="server" FieldLabel="Apellido Materno" Name="SecondLastName" />
                        <ext:DateField ID="BirthDate" runat="server" FieldLabel="Fecha Nacimiento" Name="BirthDate" Format="yyyy-M-d"  />
                        <ext:TextField ID="Cost" runat="server" FieldLabel="Costo" Name="Cost" />
                        <ext:TextField ID="PhoneNumber" runat="server" FieldLabel="Telefono" Name="PhoneNumber" />                  
                    </Items>
                </ext:FormPanel>               
            </Items>
        </ext:TabPanel>
    </Items>
 
</ext:Window>